# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'ui_dialog_config.ui'
##
## Created by: Qt User Interface Compiler version 5.15.2
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide2.QtCore import *
from PySide2.QtGui import *
from PySide2.QtWidgets import *

from qfluentwidgets import BodyLabel
from qfluentwidgets import PushButton
from qfluentwidgets import LineEdit


class Ui_Dialog(object):
    def setupUi(self, Dialog):
        if not Dialog.objectName():
            Dialog.setObjectName(u"Dialog")
        Dialog.resize(525, 222)
        self.verticalLayout = QVBoxLayout(Dialog)
        self.verticalLayout.setObjectName(u"verticalLayout")
        self.horizontalLayout_4 = QHBoxLayout()
        self.horizontalLayout_4.setObjectName(u"horizontalLayout_4")
        self.horizontalSpacer = QSpacerItem(40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)

        self.horizontalLayout_4.addItem(self.horizontalSpacer)

        self.label = BodyLabel(Dialog)
        self.label.setObjectName(u"label")

        self.horizontalLayout_4.addWidget(self.label)

        self.horizontalSpacer_2 = QSpacerItem(40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)

        self.horizontalLayout_4.addItem(self.horizontalSpacer_2)


        self.verticalLayout.addLayout(self.horizontalLayout_4)

        self.formLayout_2 = QFormLayout()
        self.formLayout_2.setObjectName(u"formLayout_2")
        self.formLayout_2.setVerticalSpacing(6)
        self.formLayout_2.setContentsMargins(-1, 0, -1, 0)
        self.label_key_1 = BodyLabel(Dialog)
        self.label_key_1.setObjectName(u"label_key_1")
        self.label_key_1.setMaximumSize(QSize(50, 30))

        self.formLayout_2.setWidget(0, QFormLayout.LabelRole, self.label_key_1)

        self.lineEdit_key_1 = LineEdit(Dialog)
        self.lineEdit_key_1.setObjectName(u"lineEdit_key_1")

        self.formLayout_2.setWidget(0, QFormLayout.FieldRole, self.lineEdit_key_1)

        self.label_key_2 = BodyLabel(Dialog)
        self.label_key_2.setObjectName(u"label_key_2")
        self.label_key_2.setMaximumSize(QSize(50, 30))

        self.formLayout_2.setWidget(1, QFormLayout.LabelRole, self.label_key_2)

        self.lineEdit_key_2 = LineEdit(Dialog)
        self.lineEdit_key_2.setObjectName(u"lineEdit_key_2")

        self.formLayout_2.setWidget(1, QFormLayout.FieldRole, self.lineEdit_key_2)


        self.verticalLayout.addLayout(self.formLayout_2)

        self.horizontalLayout_5 = QHBoxLayout()
        self.horizontalLayout_5.setObjectName(u"horizontalLayout_5")
        self.pushButton_advanced_config = PushButton(Dialog)
        self.pushButton_advanced_config.setObjectName(u"pushButton_advanced_config")

        self.horizontalLayout_5.addWidget(self.pushButton_advanced_config)

        self.horizontalSpacer_4 = QSpacerItem(90, 20, QSizePolicy.Preferred, QSizePolicy.Minimum)

        self.horizontalLayout_5.addItem(self.horizontalSpacer_4)

        self.horizontalLayout_3 = QHBoxLayout()
        self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
        self.pushButton_config_save = PushButton(Dialog)
        self.pushButton_config_save.setObjectName(u"pushButton_config_save")
        sizePolicy = QSizePolicy(QSizePolicy.Minimum, QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_config_save.sizePolicy().hasHeightForWidth())
        self.pushButton_config_save.setSizePolicy(sizePolicy)
        self.pushButton_config_save.setMinimumSize(QSize(0, 40))
        self.pushButton_config_save.setMaximumSize(QSize(16777215, 40))

        self.horizontalLayout_3.addWidget(self.pushButton_config_save)

        self.pushButton_config_cancel = PushButton(Dialog)
        self.pushButton_config_cancel.setObjectName(u"pushButton_config_cancel")
        sizePolicy.setHeightForWidth(self.pushButton_config_cancel.sizePolicy().hasHeightForWidth())
        self.pushButton_config_cancel.setSizePolicy(sizePolicy)
        self.pushButton_config_cancel.setMinimumSize(QSize(0, 40))
        self.pushButton_config_cancel.setMaximumSize(QSize(16777215, 40))

        self.horizontalLayout_3.addWidget(self.pushButton_config_cancel)


        self.horizontalLayout_5.addLayout(self.horizontalLayout_3)

        self.horizontalSpacer_3 = QSpacerItem(40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)

        self.horizontalLayout_5.addItem(self.horizontalSpacer_3)

        self.verticalLayout.addLayout(self.horizontalLayout_5)

        self.retranslateUi(Dialog)

        QMetaObject.connectSlotsByName(Dialog)
    # setupUi

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(QCoreApplication.translate("Dialog", u"Dialog", None))
        self.label.setText(
            QCoreApplication.translate("Dialog", u"\u8f93\u5165\u914d\u7f6e\u4fe1\u606f\u5e76\u4fdd\u5b58", None))
        self.label_key_1.setText(QCoreApplication.translate("Dialog", u"<html><head/><body><p><span style=\"\n"
                                                                      "                                    color:#ff0000;\">*\n"
                                                                      "                                    </span>KEY_1</p></body></html>\n"
                                                                      "                                ", None))
        self.label_key_2.setText(
            QCoreApplication.translate("Dialog", u"<html><head/><body><p>KEY_2</p></body></html>", None))
        self.pushButton_advanced_config.setText(QCoreApplication.translate("Dialog", u"\u9ad8\u7ea7\u914d\u7f6e", None))
        self.pushButton_config_save.setText(
            QCoreApplication.translate("Dialog", u"\u4fdd\u5b58\u5e76\u5173\u95ed", None))
        self.pushButton_config_cancel.setText(QCoreApplication.translate("Dialog", u"\u53d6\u6d88", None))
    # retranslateUi

